﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xyz.BusinessObjects;

namespace Xyz.DataObjects.Interfaces
{
    public interface IFlightDao
    {
        List<Airport> GetAirports();

        Flight GetFlightStatus(String flightCode, DateTime flightDate, String flightAirport,bool isArrival);

        Aircraft GetAircraftByFlightId(int flightId);

        void InsertFlight(Flight flight);

        List<Aircraft> GetAircrafts();

        List<Terminal> GetTerminalByAirportId(string airportCode);

        List<Flight> GetFlights();

        Flight GetFlightByFlightId(int flightId);
        void UpdateFlight(Flight flight);

        void DeleteFlight(int flightId);

        List<Flight> GetFlightsByFlightCode(string flightCode);

        List<Flight> GetFlights(DateTime departureDate, String departureAirport, String arrivalAirport);
        
    }
}
